module.exports = (file) => {
  try {
    return require('@/views/' + file + '.vue').default
  } catch (error) {
    return require('@/views/404.vue').default
  }
} // vue-loader at least v13.0.0+
